package cn.edu.scau.cmi.shishuai.exercise5;

public class Circle2 {
	double x, y, radius;
	
	public void setX(double a) {
		x = a;
	}
	
	public double getX() {
		return x;
	}

	public void setY(double b) {
		y = b;
	}
	
	public double getY() {
		return y;
	}
	
	public void setRadius(double r) {
		if(r > 0) {
			radius = r;
		}
	}
	
	public double getRadius() {
		return radius;
	}
}
